Joao Felizardo
5/21/2019
I’m going to use The Economic Freedom Index dataset to show a graphic relating the Government.Integrity, Judical.Effectiveness and Financial.Freedom. For this I’ll use the plotly library.
library(plotly)
ef <- read.csv("economic_freedom_index2019_data.csv")plot_ly(x = ~ef$Government.Integrity, y = ~ef$Judical.Effectiveness, z = ~ef$Financial.Freedom, type = "scatter3d", color = ~ef$Financial.Freedom)As we can see there’s a positive correlation between Government.Integrity, Judical.Effectiveness and Financial.Freedom.